package com.l.ssmRedis.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@ApiModel(value = "用户基础资料的实体")
@Data
public class User implements Serializable {
    @ApiModelProperty(notes = "主键",dataType = "String",required = false)
    private Integer id;
    @ApiModelProperty(name = "name",notes = "用户名",dataType = "String",required = true)
    private String name;
    @ApiModelProperty(notes = "密码",dataType = "String",required = true)
    private String password;
}
